package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Value;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author fenda xu
 * @Date 2021 3/28/21 9:23 PM
 * @Version 1.0
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@Document(collection = "voices")
public class Voice implements Serializable {
    private static final long serialVersionUID = -2917882581257674L;
    private ObjectId id; //主键id
    private Long vid;//语音id
    private Long userid;//用户id
    private String soundFileUrl;//上传语音文件路径
    private Long create;//上传时间
}
